package com.bwsoft.admin.service;

import java.io.File;
import java.util.List;

import com.bwsoft.admin.domain.Account;
import com.bwsoft.admin.domain.valueObject.AccountVO;
import com.bwsoft.model.Message;

public interface IndividualAndInspectorService {
	public static final String NAME = "IndividualAndInspectorServiceImpl";

	/**
	 * 分页查询内容
	 * @return 内容的集合
	 */
	List<Account> findData(Integer page, Integer rows, String s_accountId, String s_nickName, String s_account, String s_phone, String s_jinyongFlag, String s_accountType);
	
	/**
	 * 查询总数
	 * 
	 * @return	 标准总数
	 */
	Long getTotalCount(String s_accountId, String s_nickName, String s_account, String s_phone, String s_jinyongFlag, String s_accountType);
	
	/**
	 * 保存/修改
	 * @param Account
	 * @return
	 */
	Message saveOrUpdateInfo(Account cl, File clImg1, String clImg1FileName);

	/**
	 * 获取Vo
	 * 
	 * @param accounts
	 * @return
	 */
	List<AccountVO> getVo(List<Account> accounts);
}
